﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.StatementServer.AvailableStockServices.Dto
{
    public class AvailableStockDto:KeyEntity
    {
        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(50)]
        public string? ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [MaxLength(50)]
        public string? ProductName { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string? Specs { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public int ProductTypeId { get; set; }


        /// <summary>
        /// 单位名称
        /// </summary>
        [MaxLength(30)]
        public string? UnitName { get; set; }


        /// <summary>
        /// 库存
        /// </summary>
        public int Inventory { get; set; }
    }
}
